<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
    
    <h1>{{poll.question}}</h1>
    {% if error_message %}
       <p><strong>{{error_message}}</strong></p>
    {% endif %}      
    <form action="/post/{{poll.id}}/vote/" method="post"> 
    {% for choice in poll.choice_set.all %}
       <input type="radio" name="Choice" value="{{choice.id}}" id="choice{{forloop.counter}}"/>
       <label for="choice{{forloop.counter}}">{{choice.choice}}</label></br>
    {% endfor %}
       <input type="submit" value="Vote" />
    </form>   
</body>
</html>